<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PaisViewDlg" widgetVar="PaisViewDialog" modal="true" resizable="false"  appendTo="@(body)" header="#{myBundle.ViewPaisTitle}" closeOnEscape="true">

            <h:form id="PaisViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{paisController.selected != null}">

                        <h:outputText value="#{myBundle.ViewPaisLabel_idPais}"/>
                        <h:outputText value="#{paisController.selected.idPais}" title="#{myBundle.ViewPaisTitle_idPais}"/>

                        <h:outputText value="#{myBundle.ViewPaisLabel_nombre}"/>
                        <h:outputText value="#{paisController.selected.nombre}" title="#{myBundle.ViewPaisTitle_nombre}"/>

                        <h:outputText value="#{myBundle.ViewPaisLabel_descripcion}"/>
                        <h:outputText value="#{paisController.selected.descripcion}" title="#{myBundle.ViewPaisTitle_descripcion}"/>

                        <h:outputText value="#{myBundle.ViewPaisLabel_usuarioMod}"/>
                        <h:outputText value="#{paisController.selected.usuarioMod}" title="#{myBundle.ViewPaisTitle_usuarioMod}"/>

                        <h:outputText value="#{myBundle.ViewPaisLabel_fechaMod}"/>
                        <h:outputText value="#{paisController.selected.fechaMod}" title="#{myBundle.ViewPaisTitle_fechaMod}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewPaisLabel_activo}"/>
                        <h:selectBooleanCheckbox id="activo" value="#{paisController.selected.activo}" title="#{myBundle.EditPaisTitle_activo}" required="true" requiredMessage="#{myBundle.EditPaisRequiredMessage_activo}" disabled="true"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="PaisViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
